﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WilkeService
{
    public class Cls_UserCollection
    {
        Cls_User user;
        List<Cls_User> listUsers;

        public Cls_UserCollection()
        {
            listUsers = new List<Cls_User>();
        }

        public void NewUser(string ip, Cls_Group group)
        {
            user = new Cls_User(ip, group);
            listUsers.Add(user);
        }

        public List<Cls_User> GetListUsers
        {
            get { return listUsers; }
        }
    }
}